home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / andere sprachen / perl5 / perl5.002 / hints / isc_2.sh < prev    next >
Encoding:
Text File  |  1995-10-20  |  574 b   |  23 lines

  1. #  isc_2.sh
  2. #  Interactive Unix Version 2.2
  3. #  Compile perl entirely in posix mode. 
  4. #  Andy Dougherty        doughera@lafcol.lafayette.edu
  5. #  Wed Oct  5 15:57:37 EDT 1994
  6. #
  7. # Use Configure -Dcc=gcc to use gcc
  8. #
  9. set `echo X "$libswanted "| sed -e 's/ c / /'`
  10. shift
  11. libswanted="$*"
  12. case "$cc" in
  13. *gcc*)    ccflags="$ccflags -posix"
  14.     ldflags="$ldflags -posix"
  15.     ;;
  16. *)    ccflags="$ccflags -Xp -D_POSIX_SOURCE"
  17.     ldflags="$ldflags -Xp"
  18.         ;;
  19. esac
  20. # Compensate for conflicts in <net/errno.h>
  21. doio_cflags='ccflags="$ccflags -DENOTSOCK=103"'
  22. pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"'
  23.